<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="viewport"
	content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0" />
<title>邮宝洗衣</title>
<link href="css/style.css" rel="stylesheet" type="text/css">
<link href="css/type.css" rel="stylesheet" type="text/css">
<style type="text/css">
/*<![CDATA[*/
* html .decoration {
	position: absolute;
	right: 16px;
	top: 0;
} /*only for ie*/
/*]]>*/
</style>
<!-- Do not move the bellow script to custom.js! It must stay here to
    load properly! -->
<script type="text/javascript" src="scripts/jquery.js"></script>
<script type="text/javascript" src="scripts/custom.js" charset="utf-8"></script>
</head>
<body onLoad="loadImages()">
	<p class="no-mobile">
		请使用手机访问本页面！ <br /> 这个页面是专门针对手机设计的！
	</p>
	<div class="site">
		<div id="hidepage">
			<p class="center-text">
				加载中，加载速度取决于您的网速! <br /> <img src="images/background/130.gif"
					alt="load">
			</p>
		</div>
		
		<div class="decoration">
			<div class="back">
				<a href="index.jsp?toPage=2">
					<img src="images/home/back.png">
				</a>
			</div> 
			<p class="title" style="width: 33%;float: left;">收支明细</p>
			<div style="width: 33%">
			</div> 
		</div>
		<div id="wrapper">
			
		<div class="order_btn">
			<div class="btn_service">
				<a href="#">
					<img src="images/person/pay_11.png">
				</a>
			</div> 
			<div class="btn_completed">
				<a href="transactionRouter?funcID=0021&userId=${param.userId}">
					<img src="images/person/pay_02.png">
				</a>
			</div> 
		</div>
		<c:if test="${requestScope.incomeList.size()==0}">
			<div id="order">
				<div class="order_no_order">
					<img src='images/order/no_order_03.png'>
				</div>
				<div>
					<font color="#323232">您还没有相关的记录！</font>
				</div>
			</div>
		</c:if>
		<c:if test="${requestScope.incomeList.size()>0}">
		<div class="person_income">
			<c:forEach var="income" items="${requestScope.incomeList}" varStatus="status">
			<table border="0" cellspacing="0" cellpadding="0" style="${status.index == 0 ? 'border-top:1px solid #a0a0a0;' : ''}" >
				<tr>
					<td class="pay_type">支付宝充值</td>
					<td class="pay_time"><fmt:formatDate value="${income.logIncomeCreateTime}" pattern="yy-MM-dd HH:mm:ss"/></td>
				</tr>
				<tr>
					<td class="account_money">账户余额:<font>${income.logIncomeBalance}</font></td>
					<td class="pay_money" style="color: #ff6c0d">+${income.logIncomeMoney}</td>
				</tr>
			</table>
			</c:forEach>
		</div>
		</c:if>
	</div>
	</div>
</body>
</html>